/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package mini_game_fx;

import javafx.scene.Group;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;

/**
 *
 * @author Joshua
 */
public abstract class MiniGameGroup extends Group{

    protected Canvas canvas;
    public abstract Canvas getCanvas();
    
    protected abstract void paintComponent();//GraphicsContext g);

    
    public void paintComponent(MiniGameFx game){
        this.paintComponent();
    }
}
